package com.wuzhazha.redisdemo.service;

import com.wuzhazha.redisdemo.pojo.Role;

import java.util.List;

/**
 * @Author:wuzhazha
 * @Date: 2018/8/12 00:44
 * @Description:
 */
public interface RoleService {

    Role getRole(Long id);

    int deleteRole(Long id);

    Role insertRole(Role role);

    int updateRole(Role role);

    List<Role> findRole(String roleName, String note);
}
